<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Dict extends Model
{
    protected $table = 'dict';
    protected $guarded = ['id'];

    public function children()
    {
        return $this->hasMany(Dict::class, 'did', 'id');
    }


}
